/**
 * 
 */
package com.kathez.dao;

import java.util.List;

import com.kathez.entity.BusinessOperable;
import com.kathez.entity.KathezEntity;

/**
 * The result of the Delete DAO operation.
 * @author Balaji T
 *
 */
public interface DAODeleteResult extends DAOResult {

	/**
	 * Returns the successfully deleted object. 
	 * @return
	 */
	BusinessOperable getDeletedObject();
	
	/**
	 * Returns the list of successfully deleted objects, in case multiples objects deleted.
	 * @return
	 */
	List<KathezEntity> getDeletedObjectList();
	
	/**
	 * Returns the no of objects deleted by the update operation.
	 * @return
	 */
	int getDeleteCount();
	
	/**
	 * indicates whether the deleted operation is success or not.
	 * @return
	 */
	boolean isDeleteSuccess();
	
	/**
	 * If delete operation is failed, returns the error code caused for failure
	 * @return
	 */
	String getDeleteErrCode();
	
	/**
	 * If delete operation is failed, returns the error message caused for failure
	 * @return
	 */
	String getDeleteErrMsg();	
}
